@import '~::libs/hotcss/px2rem.styl'
body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4,h5, h6, i, b, textarea, button, input, select, figure, figcaption {
    padding: 0;
    margin: 0;
    list-style: none;
    font-style: normal;
    text-decoration: none;
    border: none;
    font-family: "Microsoft Yahei",sans-serif;
    -webkit-tap-highlight-color:transparent;
    -webkit-font-smoothing: antialiased;
    &:focus {
        outline: none;
    }
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar
{
    width: 0px;
    height: 0px;
    background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
    border-radius: $px2rem(10px);
    background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb
{
    border-radius: $px2rem(10px);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

input[type="button"], input[type="submit"], input[type="search"], input[type="reset"] {
    -webkit-appearance: none;
}

textarea { -webkit-appearance: none;}

html,body{
    height: 100%;
    width: 100%;
// background-color: #F5F5F5;
}

.fillcontain{
    height: 100%;
    width: 100%;
}
.clear:after{
    content: '';
    display: block;
    clear: both;
}

.clear{
    zoom:1;
}

.back_img{
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.margin{
    margin: 0 auto;
}

.left{
    float: left;
}

.right{
    float: right;
}

.hide{
    display: none;
}

.show{
    display: block;
}

.ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/*修改element-ui的样式*/
.el-button--primary
    background $color(s-car) !important
    border 0 !important
    &:hover
        background $color(menu-active) !important

@font-face
    font-family: 'iconfont';
    src: url('~::assets/fonts/iconfont.eot');
    src: url('~::assets/fonts/iconfont.eot?#iefix') format('embedded-opentype'),
        url('~::assets/fonts/iconfont.woff') format('woff'),
        url('~::assets/fonts/iconfont.ttf') format('truetype'),
        url('~::assets/fonts/iconfont.svg#iconfont') format('svg');

.sm-iconfont
    font-family:"iconfont" !important;
    font-size:20px;font-style:normal;
    font-weight 300
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
    padding $px2rem(8px)

.icon-sm-kucun-xianxing:before
    content: "\e88f"

.icon-sm-danju-xianxing:before
    content: "\e89a"

.icon-sm-shezhi-xianxing:before
    content: "\e8b7"

.icon-sm-shouye-xianxing:before
    content: "\e8b9"

.icon-sm-jiaosequnti-xianxing:before
    content: "\e8c9"
